@import "/css/modules/base.css";

.server-info{
  .infoUL{
    width:180px;
    background:#fff;
    li{
      margin-left:5px;
      margin-top:8px;
      font-size: 12px;
      color:#000;
    }
  }
}

.header {
  width: 100%;
  background: #111;

  .header-top {
    position: relative;
    width: 100%;
    height: 29px;
    font-size: 12px;
    line-height: 29px;
    color: #999;
    border-bottom: 1px solid #aaa;
    .leftLogin {
      float: right;
      margin-right: 20px;
      span {
        float: left;
        text-decoration: none;
        color: #ccc;
        margin: 0 15px;
        a{
          text-decoration: none;
          color:#fff;
        }
      }
      .spanName{
        margin-left:0px;
      }
    }
    .rig {
      float: right;
      width: 285px;
      margin-right: 35px;
      .shop {
        text-decoration: none;
        
        float: right;
        display: block;
        height: 30px;
        width: 145px;
        color: #000;
        .p {
          float: left;
          display: block;
          margin-top:3px;
          margin-left:5px;
          width:24px;
          height:24px;
          background: url("/images/headercart1.png") no-repeat;
        }
        .ccartc{
          font-size: 12px;
          margin-left:10px;
        }
        background: #fff;
        .cartShopNum {
          font-weight: 900;
          font-size: 16px;
          color: red;
          margin-left: 10px;
        }
      }
      .pic {
        float: right;
        display: block;
        height: 29px;
        width: 55px;
      }
    }
  }
  .header-bottom {
    height: 60px;
    .imgA {
      display: block;
      position: absolute;
      width: 121px;
      height: 50px;
      z-index: 9999;
      margin: {
        top: 10px;
        left: 30px;
      }
    }
    .search-form {
      position: absolute;
      right: 30px;
      top: 44px;
      border: 1px solid #3b3b3b;
      background-color: #2b2b2b;
      width: 185px;
      height: 31px;
      padding-right: 31px;
      padding-left: 10px;
      z-index: 9999;

      #searchInput1 {
        background-color: transparent;
        outline: none;
        border: none;
        height: 31px;
        line-height: 31px;
        width: 100%;
        color: #fff;
        font-size: 14px;
      }
      .buttonSearch {
        width: 31px;
        height: 31px;
        background: url(https://www.erke.com/images/search.png) no-repeat center center;
        border: none;
        float: right;
        margin-right: -31px;
        outline: none;
        cursor: pointer;
      }
    }

    .nav {
      // float:left;
      width: 100%;
      height: 58px;
      text-align: center;
      position: relative;

      ul {
        width: 980px;
        height: 58px;
        z-index: 99;
        margin: 0 auto;
        li {
          float: left;
          list-style: none;
          width: 106px;
          height: 58px;
          line-height: 58px;
          &:hover {
            background-color: #3c3c3c;
            a {
              color: rgb(0, 217, 255);
            }
          }

          a {
            text-decoration: none;
            color: #ccc;
            font-size: 16px;
            font-weight: 900;
            text-align: center;
          }
        }
      }
    }
  }
}

@media (max-width: 1200px) {
  .header .header-bottom {
    height: 120px;
    .imgA {
      position: relative;
    }
    .nav ul {
      margin-top: 20px;
    }
  }
}
